package com.bootdo.collection.service;

import com.bootdo.collection.domain.SourceStationDO;
import com.bootdo.common.domain.Tree;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface SourceStationService {
    List<SourceStationDO> list(Map<String,Object> params);
    SourceStationDO get(int id);
    int remove(int id);
    int save(SourceStationDO sourceStationDO);
    int edit(SourceStationDO sourceStationDO);
    int update(SourceStationDO sourceStationDO);
    Tree<SourceStationDO> getTree();
    int getTotal();
    List<String> getSubName(int id);
}
